/**  
 * @Title: ExampleObjectFactory.java  
 * @Package com.blog4java.mybatis.configuration.objectfactory  
 * @Description: TODO(用一句话描述该文件做什么)  
 * @author suyuhao  
 * @date 2025-05-29 12:21:37   
 */
package com.blog4java.mybatis.configuration.objectFactory;

import java.util.Collection;
import java.util.List;
import java.util.Properties;

import org.apache.ibatis.reflection.factory.DefaultObjectFactory;

/**  
* @ClassName: ExampleObjectFactory  
* @Description: 覆盖对象工厂的默认行为
* @author suyuhao  
* @date 2025-05-29 12:21:37
*/
public class ExampleObjectFactory extends DefaultObjectFactory{

	@Override
	public <T> T create(Class<T> type) {
		// TODO Auto-generated method stub
		return super.create(type);
	}

	@Override
	public <T> T create(Class<T> type, List<Class<?>> constructorArgTypes, List<Object> constructorArgs) {
		// TODO Auto-generated method stub
		return super.create(type, constructorArgTypes, constructorArgs);
	}	
	
	@Override
	public void setProperties(Properties properties) {
		// TODO Auto-generated method stub
		super.setProperties(properties);
	}

	@Override
	public <T> boolean isCollection(Class<T> type) {
		// TODO Auto-generated method stub
		return Collection.class.isAssignableFrom(type);
	}
}
